package cn.by.wms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("206_danmaku")
public class Daimaku extends BaseEntity{
    @TableId(value = "id", type = IdType.AUTO )
    private Integer id;
    //告诉数据库，numberId映射的是数据库的userId
    @TableField("userId")
    private Integer numberId;
    private String userName;
    private String avatarUrl;
    private Integer videoId ;
    private String content;
    @TableField(exist = false)
    private  Integer statusx;

}
